package com.dycx.user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dycx.user.entity.VehicleBrandDO;
import com.dycx.user.vo.VehicleBrandVO;
import com.dycx.user.dto.VehicleBrandDTO;

import java.util.List;


/**
 * 车辆表(VehicleBrand)表服务接口
 *
 * @author wuzongbing
 * @since 2025-01-19 18:06:05
 */
public interface VehicleBrandService extends IService<VehicleBrandDO> {

    /**
     * 分页
     */
    Page<VehicleBrandVO> getPage(VehicleBrandDTO dto);

    /**
     * 查询列表
     */
    List<VehicleBrandVO> getList(VehicleBrandDTO dto);

    /**
     * 获取详情
     */
    VehicleBrandVO load(Integer id);

    /**
     * 添加
     */
    Boolean create(VehicleBrandDTO dto);

    /**
     * 修改
     */
    Boolean edit(VehicleBrandDTO dto);

    /**
     * 删除
     */
    Boolean delete(Integer id);

    /**
     * 获取最大排序
     */
    Integer getMaxSort();

}

